package com.jwl.idc.database;

import android.net.Uri;

public class ContactDBConstant {

	public static final String DATABASE_NAME = "jwlSmartLock.db";

	public static final String AUTHORITY = "com.jwl.idc.provider";

	// 表对应的uri
	public static final Uri BASE_URI = Uri.parse("content://"
			+ ContactDBConstant.AUTHORITY);
	public static final Uri USERINFO_URI = Uri.withAppendedPath(BASE_URI,
			"userInfo");
	public static final int DATABASE_VERSION = 2;
	public static final String[] TABLE_NAMES = {"user"};



	// 个人信息的字段
	public static final String USER_INFO_ID = "_id";
	public static final String USER_INFO_UID = "userId";
	public static final String USER_INFO_LOGIN = "login";
	public static final String USER_INFO_NAME = "name";
	public static final String USER_INFO_PINYINNAME = "pinyinName";
	public static final String USER_INFO_SIGNATURE = "signature";
	public static final String USER_INFO_PHONENUMBER = "phoneNumber";
	public static final String USER_INFO_EMAIL = "email";
	public static final String USER_INFO_CITY = "city";
	public static final String USER_INFO_GENDER = "gender";
	public static final String USER_INFO_PHOTOURL = "photoUrl";
	public static final String USER_INFO_AUTO = "auto";
	public static final String USER_INFO_TOKEN = "token";

}
